@layout("/common/_container.html",{js:["/assets/basic/basicPutgoods/basicPutgoods_add_hx.js"]}){
<style>
	.layui-badge-rim, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-layedit, .layui-layedit-tool, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea {
    	border-color: #89d19d;
    }
    .layui-form-pane .layui-form-label {
   	 	background-color: #e6e6e6;
	}
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="basicPutgoodsForm" lay-filter="basicPutgoodsForm" class="layui-form layui-form-pane" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>
                
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">客户名称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="putgoodsCustomerId" name="putgoodsCustomerId" lay-filter="putgoodsCustomerId" lay-verify="required" required>
                            @for(item in basicCustomerList!){
                            <option value="${item.id}">${item.customerName}</option>
                            @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">单位名称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="putgoodsName" name="putgoodsName" placeholder="请输入收货单位名称" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">单位编号<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="unitNumber" name="unitNumber" placeholder="请输入单位编号" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                
                <div class="layui-form-item">
                    <label class="layui-form-label">助记码</label>
                    <div class="layui-input-block">
                        <input id="helpCode" name="helpCode" placeholder="请输入助记码" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">单位类别</label>
                    <div class="layui-input-block">
                        <select id="unitCategory" name="unitCategory" lay-filter="unitCategory" lay-verify="" required>
                            <option value=""></option>
                            <option value="收货">收货</option>
                            <option value="发货">发货</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">单位类型<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="unitType" name="unitType" lay-filter="unitType" lay-verify="required" required>
                            <option value="门店">门店</option>
				            <option value="供应商">供应商</option>
				            <option value="批发客户">批发客户</option>
				            <option value="配送中心">配送中心</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">所属分组</label>
                    <div class="layui-input-block">
                        <input id="dictId" name="dictId" type="hidden">
                        <input id="name" name="name" placeholder="请选择分组" type="text" class="layui-input" lay-verify="" required autocomplete="off"/>
                    </div>
                </div>
<!--                <div class="layui-form-item">-->
<!--                    <label class="layui-form-label">新零帮id</label>-->
<!--                    <div class="layui-input-block">-->
<!--                        <input id="xlbClientId" name="xlbClientId" placeholder="请输入新零帮id" type="text" class="layui-input" lay-verify="" required/>-->
<!--                    </div>-->
<!--                </div>-->
                <div class="layui-form-item">
                    <label class="layui-form-label">配货口</label>
                    <div class="layui-input-block">
                        <input id="stockPort" name="stockPort" placeholder="请输入配货口" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">注意事项</label>
                    <div class="layui-input-block">
				        <textarea placeholder="请输入注意事项，100字内" class="layui-textarea" name="putgoodsNotes" lay-verify="putgoodsNotes"></textarea>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}